package com.hly.wms.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hly.common.utils.PageUtils;
import com.hly.wms.entity.WareSkuEntity;
import com.hly.wms.vo.SkuHasStockVo;

import java.util.List;
import java.util.Map;

/**
 * 商品库存
 *
 * @author dudulu
 * @email 52039@Miku.com
 * @date 2021-03-31 15:49:06
 */
public interface WareSkuService extends IService<WareSkuEntity> {

    PageUtils queryPage(Map<String, Object> params);

    void addStock(Long skuId, Long wareId, Integer skuNum);

    List<SkuHasStockVo> jubStockBySkuId(List<Long> skuId);
}

